package cn.com.demo.tp31.service.Impl;

import cn.com.demo.tp31.mapper.mainMapper;
import cn.com.demo.tp31.service.MainService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MainServiceImpl implements MainService {
    @Autowired
    private cn.com.demo.tp31.mapper.mainMapper mainMapper;
    @Override
    public int deleteById(int id) {
        int num = this.mainMapper.delete(id);
        return num;
    }
}
